package com.dk.goodnight.api;

public enum ErrorCodeEnum {

    //成功
    SUCCESS(200),
    //失败
    FAIL(400);

    private int code;

    ErrorCodeEnum(int code) {
        this.code = code;
    }

    public int getCode(){
        return code;
    }

}
